import Vue from 'vue'
import {
  Button,
  Loading,
  Message,
  MessageBox,
  Tabs,
  TabPane,
  Avatar,
  Radio
} from 'element-ui'
import locale from 'element-ui/lib/locale/lang/en'

// 按需引入
Vue.use(Button, { locale })
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Avatar)
Vue.use(Radio)
Vue.prototype.$message = Message
Vue.prototype.$messageBox = MessageBox
Vue.prototype.$loading = Loading.service
